<?php
/**
 * Cliente asyncronic, esto encola en una cola activeMQ.
 */
class MailerWS_ApiController extends Ext_Controller_ServerAction
{


    public function init()
    {
        parent::init();
        $queue = $this->getResource('Queue')->getQueue( 'main' );
        parent::setClass( 'Ext_Mailer_Mailer', $queue );
    }
}